export default function getDisabledIndex(curIndex, length) {
    let index = [];
    if (!length) return false;
    for (let i = 0; i < length; i++) {
        i !== curIndex && index.push(i)
    }
    return index.length > 0 ? index : false;
}
